package org.glut.cloud.repairManage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.glut.cloud.repairManage.entity.FailureRepair;
import org.glut.cloud.repairManage.mapper.FailureRepairMapper;
import org.glut.cloud.repairManage.service.IFailureRepairService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 故障保修表 服务实现类
 *
 * @author weisiyuan
 * @since 2024-08-14 20:25
 */
@Service
public class FailureRepairServiceImpl extends ServiceImpl<FailureRepairMapper, FailureRepair> implements IFailureRepairService {

    @Autowired
    protected FailureRepairMapper failureRepairMapper;

    /**
     * 根据故障报修ID查询相应报修的故障信息
     *
     * @param failureRepairId
     */
    @Override
    public FailureRepair selectById(Integer failureRepairId) {
        return failureRepairMapper.selectById(failureRepairId);
    }
}
